//
//  UnitToolCommonView.h
//  baojia
//
//  Created by Baojia-LC on 14-9-23.
//  Copyright (c) 2014年 com.baojia.www. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UnitToolCommonView : UIView

//代switch
+(UIView*)viewWithLabelAndImageView:(NSString*)text image:(NSString*)image;

//图片加文字
+(UIView*)viewWithLabel:(NSString*)text image:(NSString*)image;


+(UIView*)viewWithLabel:(NSString*)text image:(NSString*)image font:(UIFont*)font;

+(UIScrollView*)scrollviewWithFrame:(CGRect)frame contentSize:(CGSize)size;


+(NSString*)substring:(NSString*)subs content:(NSString*)text;

+(UIButton*)viewWithButtonWithText:(NSString*)text textColor:(UIColor*)textColor frame:(CGRect)frame ;


+(UITextField*)viewLineTextFeildWithText:(NSString*)placeHolder textColor:(UIColor*)textColor frame:(CGRect)frame font:(UIFont*)font;

+(UIButton*)createLineButtonViewWithFrame:(CGRect)frame title:(NSString*)title titleColor:(UIColor*)textColor font:(UIFont*)font sel:(SEL)selector target:(UIViewController*)vc;

+(UIImageView*)addRedFlotMessagePushDataWithUimageView:(UIView*)supView;

@end
